package my.suveng.datajdbc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.ServletComponentScan;

/**
 * create at 2018/9/30
 * author: suveng
 * email: suveng@163.com
 **/
@SpringBootApplication
//@ServletComponentScan(basePackages = "my.suveng.datajdbc.myservlet")
public class DataJDBCApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(DataJDBCApplication.class)
//				.web(WebApplicationType.NONE)
                .run(args);
//        SpringApplication.run(DataJDBCApplication.class, args);
    }
}
